package com.itheima.service.store;

import com.github.pagehelper.Page;
import com.github.pagehelper.PageInfo;
import com.itheima.domain.store.Course;

import java.util.List;

public interface CourseService {
    int save(Course course);

    int delete(String id);

    int update(Course course);

    Course findById(String id);

    List<Course> findAll();
    PageInfo findAll(int currentPage, int pageSize);
}
